package distrcomp;

import java.rmi.Remote;
import java.rmi.RemoteException;

/*
 * Remote interface of the shipping quoter
 */

public interface ShippingQuoter extends Remote {
	public Shipment ship(Product product, Address source, Address destination, ShippingType shippingType) throws RemoteException;
	public double calcPrice(Product product, Address source, Address destination, ShippingType shippingType) throws RemoteException;
	public void startTracker(ShippingTracker tracker, int shipmentID, ShippingTracker notifier) throws RemoteException;
}